﻿using System.Data;
namespace DAL
{
    public class Employee_DAL : clsConnect
    {
        private readonly clsConnect cls = new clsConnect();
        public DataTable GetDataEmloyee()
        {
            cls.CreateNewSqlCommand();
            return cls.GetData("sp_tb_Employee");
        }
        public DataTable GetDataEmloyeeDetail(int id)
        {
            cls.CreateNewSqlCommand();
            cls.AddParameter("@Employee_Id", id);
            return cls.GetData("sp_tb_Employee_Detail");
        }
    }
}
